﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Doi.Master" AutoEventWireup="true" CodeBehind="ThongTinKhenThuong.aspx.cs" Inherits="GroupManager.ThongTinKhenThuong" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<style>

</style>
    <h2>Thong Tin Khen Thuong</h2>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
    <asp:DataList ID="DataList1" runat="server" OnItemCommand="DataList1_ItemCommand">
        <ItemTemplate>
        <div class="wrapper1">
            <div class="new-khen">
                <div class="new-khen-text">khen thưởng:</div>
                <div class="new-box-khen"><asp:TextBox ID="Label1" runat="server" Text='<%# Eval("TenKhenThuong") %>'></asp:TextBox></div>

            </div> 
            <div class="new-khen">
                <div class="new-khen-text">Đơn vị cấp:</span> </div>
                <div="new-box-khen">  <asp:TextBox ID="Label2" runat="server" Text='<%# Eval("DonViCap") %>'></asp:TextBox> </div>
            </div>
             <div class="new-khen">
                 <div class="new-khen-text"> Cấp:</div>
                 <div class="new-box-khen"> <asp:TextBox ID="Label3" runat="server" Text='<%# Eval("Cap") %>'></asp:TextBox> </div>
             </div>
             <div class="new-khen">
                 <div class="new-khen-text">Năm cấp:</div>
                 <div class="new-box-khen"> <asp:TextBox ID="Label4" runat="server" Text='<%# Eval("Nam") %>'></asp:TextBox></div>
             </div>
            <div class="new-khen-btn">
                <asp:LinkButton ID="Button1" runat="server" Text="Sửa" CommandArgument='<%# Eval("MaKhenThuong") %>' CommandName="Button1" />
                <asp:LinkButton ID="Button2" runat="server" Text="Xóa" CommandArgument='<%# Eval("MaKhenThuong") %>' CommandName="Button2"  OnClientClick="return confirm('Xác nhận xóa');" />
            </div>
            
        </div>
            <hr />
        </ItemTemplate>
    </asp:DataList>
            </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
